@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&display=swap');


* {
   font-family: 'Plus Jakarta Sans', sans-serif;
}

.am-form form {
    padding: 3em;
}
.navbar-expand-md .navbar-collapse.show {
    flex-direction: column;
    z-index: 10;
    background: #fff;
    box-shadow: 0px 8px 8px #969696;
}
.nav-link-icon {
    margin-right: 0.2em;
}
.am-footer-links ul li {
    display: inline-block;
    list-style: none;
    margin-right: 15px;
}
#widget-member-main-links{
    display: none;
}
#widget-member-main-subscriptions #member-main-subscriptions-head{
    display: none;
}
#member-main-subscriptions{
    margin-bottom: 2em;
}
.page-body {
    margin-top: 0.5em;
}
.am-form div.am-element-title .comment {
    font-size: 0.7rem;
}
.am-layout-two-coll, .am-layout-two-coll .am-layout-two-coll-top, .am-layout-two-coll .am-layout-two-coll-bottom {
    background: transparent!important;
    padding: 0;
    margin: 0;
    border: 0;
    box-shadow: none;
}
.am-layout-two-coll .am-coll-left .am-coll-content {
    margin: 0;
}
.am-footer-links ul li a{
    text-decoration: none;
    color: #F27C00;
    font-weight: 600;
}

.sb-theme-auth .auth-logo{
    text-align: center;
    margin: 4em 0 0 0;
}

.sb-theme-auth .auth-logo img{
    max-width: 200px;
}
.sb-theme-auth .am-auth-form form legend{
    background: #ffffff;
    padding: 1.5em 1em 1.5em;
    color: #303030;
}

.sb-theme-auth .am-form div.am-element {
    margin-left: 0;
    padding: 0;
    display: block;
}
.sb-theme-auth .am-form div.am-element-title {
    width: 100%;
    float: none;
    text-align: left;
    padding: 0;
}
.sb-theme-auth .am-auth-form div.am-row div.am-element-title {
    padding-right: 0;
    padding-left: 0;
}
.sb-theme-auth .am-auth-form div.am-row div.am-element {
    padding-left: 0;
}

.sb-theme-auth .am-form fieldset {
    padding: 30px;
}
.sb-theme-auth .am-row.am-row-login-pass{
    display: block;
    margin: 30px 0px 40px;
    
}
.sb-theme-auth .am-row.am-row-buttons{
    display: block;
}

/* Affiliate Alert Styling */

.am-info {
    background-color: hsl(0, 0%, 100%);
    border: 1px solid #f27c0008;
    border-radius: var(--border-radius);
    color: #1f1f1f;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
    /* display: flex
; */
    align-items: center;
}

.am-info:before {
    content: '\f071';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: #ff9800;
    font-size: 16px;
}

.am-info a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.am-info a:hover {
    text-decoration: underline;
    margin: 30px 0px;
   
}
.sb-theme-auth .am-row.am-row-buttons input{
    display: block;
    margin: 20px 0px;
    width: 100%;
}
.sb-theme-auth .am-row.am-row-buttons .am-form-login-switch-wrapper{
    display: block;
    margin: 20px 0px;
 
}
.am-credits {
    margin-top: 1em;
    color: #F27C00;
    /* height: 2em; */
    text-align: center;
    font-size: 0.8rem;
    opacity: 1;
    height: auto;
    margin-bottom: 1em;
}
.navbar-brand-image {
    height: 3rem;
    width: auto;
}

.am-footer-links{
    flex-grow: 1;
}
.am-footer-links ul{
 margin: 0px;
}
.am-footer-sm a{
 font-size: 1rem;
 padding: 0 5px;
}

/* Auth Form Styles */

.am-auth-form {
    width: 100%;
}

.am-auth-form div.am-row {
    background: #ffffff;
    border-bottom: none;
}

.am-auth-form.am-form fieldset legend {
    padding: 2em 1rem;
    font-size: 30px;
    background: #ffffff;
    border-bottom: none;
    float: none;
    font-weight: 700;
    color: #F27C00;
    font-family: 'Plus Jakarta Sans';
}

.am-auth-form .am-row{
    display: block;
    padding: 4px 6px;
}

.am-auth-form .am-row .am-element-title{
    padding:0px;
    width: 100%;
    text-align: left;
    float: none;
    margin: 0 0 10px 0;
    font-weight: 700;
    font-size: 16px;
    font-family: 'Plus Jakarta Sans';
}

.am-auth-form .am-row .am-element{
    padding: 0px;
    float: none;
    width: 100%;
    margin: 0px;
}

.am-auth-form .am-row.am-row-buttons{
    margin-bottom: 2em;
}

.am-auth-form .am-row.am-row-buttons .am-element input{
    display: block;
    width: 100%;
    border-radius: 5px;
}

.am-auth-form .am-row.am-row-buttons .am-element span{
    display: block;
    margin-top: 20px;
    font-size: 16px;
}

.am-signup-link{
    font-size: 18px;
}

/* Other Styles */

.login-logo {
    text-align: center;
    margin-bottom: 5px;
    margin-top: 5px;
}

.login-logo img{
    height: 150px;
    width: auto;
}

.am-block-nodata {
    text-align: center;
    padding: 2em;
    background: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 0;
}
img.img-non-data{
    max-width: 300px;
    display: block;
    margin: 20px auto;
}
#widget-member-main-resources .am-block ul {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
@media all and (min-width: 800px) {
    #signup-page #row-product_id_page-0-0 .am-element-title{
        width: 100%;
        text-align: center;
        padding: 5px;
        background-color: #efefef;
        margin-bottom: 5px;
    }
    #signup-page #row-product_id_page-0-0 .am-element{
        margin: 0px;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        padding-top: 0;
    }
    #signup-page #row-product_id_page-0-0 .am-element > *{
        flex: 1;
    }
    #signup-page #row-product_id_page-0-0 .am-element br{
        display: none;
    }
    #signup-page #row-product_id_page-0-0 .am-element label{
        padding: 15px;
        box-shadow: 0px 5px 5px #efefef;
        border: 1px solid #efefef;
        margin: 0px 5px;
        cursor: pointer;
    }
    #signup-page #row-product_id_page-0-0 .am-element label span{
        display: block;
        margin: 5px 0px;
    }

    #signup-page #row-paysys_id .am-element-title{
        width: 100%;
        text-align: center;
        padding: 5px;
        background-color: #efefef;
        margin-bottom: 5px;
    }
    #signup-page #row-paysys_id .am-element{
        margin: 0px;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        padding-top: 0;
    }
    #signup-page #row-paysys_id .am-element > *{
        flex: 1;
    }
    #signup-page #row-paysys_id .am-element br{
        display: none;
    }
    #signup-page #row-paysys_id .am-element label{
        padding: 15px;
        box-shadow: 0px 5px 5px #efefef;
        border: 1px solid #efefef;
        margin: 0px 5px;
        cursor: pointer;
    }
    #signup-page #row-paysys_id .am-element label span{
        display: block;
        margin: 5px 0px;
    }

    #widget-member-main-resources .am-block ul {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}
@media all and (max-width: 800px) {
    #signup-page #row-paysys_id .am-element-title{
        margin-top: 20px;
        border-top: 1px solid #efefef;
        padding-top: 20px;
    }
    #signup-page #row-paysys_id .am-element{
        padding-left: 25px;
    }
    #signup-page #row-product_id_page-0-0 .am-element{
        padding-left: 25px;
    }
}

@media all and (max-width: 900px) {
    #widget-member-main-resources .am-block ul {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media all and (max-width: 700px) {
    #widget-member-main-resources .am-block ul {
        grid-template-columns: 1fr 1fr;
    }
}
@media all and (max-width: 400px) {
    #widget-member-main-resources .am-block ul {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 767.98px) {
    .navbar-expand-md .navbar-collapse .navbar-nav .nav-link {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}
.am-form form {
    padding: 1em;
}
.page-wrapper {
    background: #F8F8F6;
}
.am-popup .am-form.am-auth-form div.am-element-title {
    padding: 0.5em 0.5em 0;
    display: block;
}
.am-popup .am-form.am-auth-form .am-row {
    padding: 0;
}
.footer-transparent {
    background-color: #fff;
}
#signup-page #row-name-0{
    margin-top: 20px;
    border-top: 1px solid #efefef;
    padding-top: 20px;
}
.am-cart ul.am-cart-layout-product-list li.am-cart-layout-product-list_item {
    list-style: none;
    margin: 0;
    display: inline;
    float: left;
}
#widget-member-main-resources{
   
    border-bottom: 2px solid #efefef;
    border-radius: 8px;
}

#widget-member-main-resources .am-block {
    background: transparent;
    border: none;
    border-radius: 3px;
    margin-bottom: 1em;
    padding: 0;
    box-shadow: none;
}
#widget-member-main-resources .am-block ul {
    margin: 0;
    padding: 0;
    display: grid;
    justify-content: space-between;
    grid-gap: 1em;
}
.am-input-filter-wrapper {
    background: #fff;
}
#member-resources .resource-link-header{

}
#member-resources .action{
    
}

#member-resources .action a{
    
}

#widget-member-main-resources .am-block ul.am-widget-list li {
    padding: 0;
    background: transparent;
}
#widget-member-main-resources .product-description{
    min-height: 20px;
}

.am-layout-two-coll .am-coll-left .am-coll-content,
.am-layout-two-coll .am-coll-right .am-coll-content {
    margin: 0!important;
}
#member-main-subscriptions {
    padding: 0!important;
}

/* Main Nav Icons: Use primary color */

/* Responsive mobile nav styles */
@media (max-width: 900px) {

    .main-nav { display: none !important; }
    .mobile-nav-toggle { display: inline-block !important; }
    .mobile-nav-dropdown {
        display: none;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 8px 24px #F27C0025;
        border: 1px solid #eaeaea;
        padding: 8px 0;
        min-width: 180px;
        max-width: 95vw;
        position: absolute;
        top: 58px;
        left: 12px;
        right: 12px;
        z-index: 10000;
        animation: fadeInDown 0.18s;
    }
    .mobile-nav-dropdown .nav-list {
        flex-direction: column !important;
        gap: 0;
    }
    .mobile-nav-dropdown .nav-item {
        width: 100%;
    }
    .mobile-nav-dropdown .nav-link {
        display: flex;
        align-items: center;
        padding: 12px 22px;
        color: #303030;
        text-decoration: none;
        border-bottom: 1px solid #f2f2f2;
        font-weight: 500;
        font-size: 1.07em;
        background: none;
    }
    .mobile-nav-dropdown .nav-link:last-child {
        border-bottom: none;
    }
    .mobile-nav-dropdown .nav-link.active {
        background: #f5f7ff;
        color: #F27C00;
    }
    .search-input {
        min-width: 60px !important;
        font-size: 0.97em;
    }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ضمان ظهور القائمة الرئيسية في الديسكتوب فقط */
@media (min-width: 901px) {
    .mobile-nav-toggle, .mobile-nav-dropdown { display: none !important; }
    .main-nav { display: block !important; }
}

.main-nav .nav-icon,
.main-nav .nav-link .fa,
.main-nav .nav-link .fas,
.main-nav .nav-link .far,
.main-nav .nav-link .fab {
    color: #F27C00 !important;
    transition: color 0.2s;
}
.main-nav .nav-link.active .nav-icon,
.main-nav .nav-link.active .fa,
.main-nav .nav-link.active .fas,
.main-nav .nav-link.active .far,
.main-nav .nav-link.active .fab {
    color: #F27C00 !important;
}

/* Mobile nav dropdown fix: expand when active */
.mobile-nav-dropdown.active {
    max-height: 100vh !important;
}
@media (max-width: 576px) {
    table {
        /* display: block; */
        overflow-x: auto;
    }
}